<?php
//Name: tshirts.php
//Purpose: This script is for displaying tshirts
//CreateDate: 10/01/12


 //product image files
 require_once('products.php');
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
	<link rel="StyleSheet" type="text/css" href="css/tcaparrel.css">
	<link rel="StyleSheet" href="css/header.css" type="text/css">
	<script type="text/javascript" src="javascript/tcaparrel.js">
	</script> 
</head>


<body class="productPage">
<div class="contentWrapper">
	<div class="header">
		<?php 
		session_name('login');
		session_start();
		if(isset($_SESSION['username']))
		{
			include('loggedInUserHeader.php');
		}
		else
		{
			include ('loginformheader.php');
		}
		?>
	</div>
	
	<div class="menubarContentWrapper">
			<div class="menubar">
				<div class="menuItem" onclick="sweatshirts_click()"><label style="cursor: inherit">SweatShirts</label></div>
				<div class="menuItem" onclick="hats_click()"><label style="cursor: inherit">Hats</label></div>
				<div class="menuItem" onclick="tshirts_click()"><label style="cursor: inherit">T-Shirts</label></div>
				<div class="menuItem" onclick="pants_click()"><label style="cursor: inherit">Pants</label></div>
			</div>
	</div>
	
	<h1>T-Shirts</h1>
		
		<div class="thumbnails">
		<?php
			//access to product images
			echo '<img class="thumbnail" onclick="displayImage(this.src)" src="'.$tshirtsArray['hamlineTshirt'].'"></img>'; 
			echo '<img class="thumbnail" onclick="displayImage(this.src)" src="'.$tshirtsArray['metroTshirt'].'"></img>';
		?>
		</div>
		
		<div id="productDetails" class="productDetails">
			<h2>Product Details</h2>
			<p>Sizes XL,L,M,S<br>
			   Also available in white<br>
			   Price ONLY $17.95</p>
		</div>
		</div>
</body>

</html>